<?php
class Core_Loader implements Zend_Loader_Autoloader_Interface
{
    protected $_baseDir;
 
    public function __construct($baseDir)
    {
        $this->_baseDir   = $baseDir;
    }
 
    public function autoload($class)
    {
    	if (file_exists($this->_baseDir . '/' . $class . '.php')) {
    		return include($this->_baseDir . '/' . $class . '.php');
    	}
    }
}